#include<iostream>
using namespace std;

class book{
	private:
		float qu,price;
	public:
	book(float n);
	void a();
};

book::book(float n)
{
	qu=n;
	price=10*n;
}
void book::a()
{
	float c;
	c=qu*price;
	cout<<qu<<"*"<<price<<"="<<c<<endl;
}

int main()
{
	float n;int i;
	
	for(i=0;i<5;i++)
	{
		n=i+1;
		book e(n);
		e.a();
	}
	return 0; 
}
